
<extend name="_layout/main" />
<block name="content">


    <div id="mws-container" class="clearfix">
        <div class="container">

            <div class="mws-panel grid_8">
                <div class="mws-panel-header">
                    <span class="mws-i-24 i-list" style="float: left;display: inline">订单列表</span>


                    <div style="clear: both"></div>

                </div>
                <div class="mws-panel-body">
                    <table class="mws-table">
                        <thead>
                        <tr>
                            <th><input type="checkbox"></th>
                            <th>订单编号</th>
                            <th>联系人/手机</th>
                            <th>数量/金额</th>
                            <th>收获地址/电话</th>
                            <th>状态</th>
                            <th>创建时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>

                        <volist name="datas" id="data">
                            <tr class="gradeX even">
                                <td><input type="checkbox"></td>
                                <td>{$data.order_num}</td>
                                <td>{$data.tel}</td>
                                <td>{$data.price}</td>
                                <td>{$data.address}</td>
                                <td><eq name="data.status" value="1">已发货<else/>未发货</eq></td>
                                <td class="center">{$data['addtime']|date="Y-m-d,H-i-s",###}</td>
                                <td class="center"><a href="{:U('Admin/Goods/edit?id='.$data['id'])}">编辑</a>
                                    &nbsp;&nbsp;&nbsp;<a href="{:U('Admin/Order/del?id='.$data['id'])}">删除</a></td>
                            </tr>
                        </volist>
                        </tbody>
                    </table>
                    <div style="text-align: center;width: 30%;margin: 0 auto">{$page}</div>
                </div>
            </div>

        </div></div>
</block>